package com.niuwa.p2p.dao.fund;

import java.util.Map;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.fund.ApplyAcctLog;
@MyBatisDao
public interface ApplyAcctLogDao {
    int deleteByPrimaryKey(Long id);

    int insert(ApplyAcctLog record);

    int insertSelective(ApplyAcctLog record);

    ApplyAcctLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ApplyAcctLog record);

    int updateByPrimaryKey(ApplyAcctLog record);
    
    /**
     * 获取账号申请最新审核
     * @param map
     * @return
     */
    ApplyAcctLog getNewestAudit(String applyNo);
}